//
//  FqnpchJLCFBaseLoginViewControllerLnhfWd.m
//  Jlcf_ios
//
//  Created by 邓伟浩 on 2019/4/29.
//  Copyright © 2019 ski. All rights reserved.
//

#import "FqnpchJLCFBaseLoginViewControllerLnhfWd.h"

@interface FqnpchJLCFBaseLoginViewControllerLnhfWd ()

@end

@implementation FqnpchJLCFBaseLoginViewControllerLnhfWd

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = QTZ_Gray237;
    
    [self setUpUI];
    [self addNavigationBar];
}

- (void)addNavigationBar {
    [self.navigationBar removeFromSuperview];
    [super addNavigationBar];
    self.navigationBar.backgroundColor = [UIColor clearColor];
    [self.navigationBar setBottomBorderColor:[UIColor clearColor]];
    UIButton *backButton = [UIButton whiteBackBtnWithTarget:self action:@selector(clickback) forControlEvents:UIControlEventTouchUpInside];
    [self.navigationBar setLeftBarButton:backButton];
}

- (void)setUpUI {
    UIImageView *vhnQcZbackImageViewBXhyPV;
    [self.view addSubview:({
        vhnQcZbackImageViewBXhyPV = [[UIImageView alloc] init];
        vhnQcZbackImageViewBXhyPV.image = [UIImage imageNamed:@"icon_login_back"];
        vhnQcZbackImageViewBXhyPV;
    })];
    [vhnQcZbackImageViewBXhyPV mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.right.mas_equalTo(self.view);
        make.height.mas_equalTo(FitRealValue(540));
    }];
    
    [self.view addSubview:({
        _contentView = [[UIView alloc] init];
        _contentView.layer.cornerRadius = 5;
        _contentView.backgroundColor = [UIColor whiteColor];
        _contentView;
    })];
    
    
    [_contentView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(self.view.mas_left).offset(FitRealValue(25));
        make.right.mas_equalTo(self.view.mas_right).offset(-FitRealValue(25));
        make.height.mas_equalTo(FitRealValue(600));
        make.top.mas_equalTo(self.view.mas_top).offset(FitRealValue(440));
    }];
    
    [_contentView addSubview:({
        _KWcnnUtitleTipsLabelQLOdiQ = [[UILabel alloc] init];
        _KWcnnUtitleTipsLabelQLOdiQ.textColor = [UIColor blackColor];
        _KWcnnUtitleTipsLabelQLOdiQ.font = FONT(14);
        _KWcnnUtitleTipsLabelQLOdiQ;
    })];
    
    [_KWcnnUtitleTipsLabelQLOdiQ mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(_contentView.mas_left).offset(FitRealValue(78));
        make.top.mas_equalTo(_contentView.mas_top).offset(FitRealValue(82));
        make.height.mas_equalTo(18);
    }];
    
    [_contentView addSubview:({
        _NdgzxmdesLabelTTSqri = [[UILabel alloc] init];
        _NdgzxmdesLabelTTSqri.textColor = QTZ_Gray153;
        _NdgzxmdesLabelTTSqri.font = FONT(10);
        _NdgzxmdesLabelTTSqri;
    })];
    
    [_NdgzxmdesLabelTTSqri mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(_contentView.mas_left).offset(FitRealValue(78));
        make.top.mas_equalTo(_KWcnnUtitleTipsLabelQLOdiQ.mas_bottom).offset(FitRealValue(24));
        make.height.mas_equalTo(14);
    }];
    
    [_contentView addSubview:({
        _zNugwOsubmitBtnFCoXrL = [UIButton buttonWithType:UIButtonTypeCustom];
        [_zNugwOsubmitBtnFCoXrL setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
        _zNugwOsubmitBtnFCoXrL.titleLabel.font = FONT(12);
        _zNugwOsubmitBtnFCoXrL.layer.cornerRadius = 6;
        _zNugwOsubmitBtnFCoXrL.backgroundColor = Theme_Color;
        _zNugwOsubmitBtnFCoXrL;
    })];
    
    [_zNugwOsubmitBtnFCoXrL mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(_contentView.mas_bottom).offset(-FitRealValue(85));
        make.height.mas_equalTo(FitRealValue(90));
        make.width.mas_equalTo(FitRealValue(540));
        make.centerX.mas_equalTo(_contentView.mas_centerX);
    }];
    
    
}

@end
